package com.hoshiicloud.purchase;

import com.hoshiicloud.purchase.param.PoAddParam;
import com.hoshiicloud.purchase.param.PodetailAddParam;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Author:campchen
 * @Date:Created in 上午 10:49 2019/5/18
 * @PACKAGENAME com.hoshiicloud.purchase.entity
 * @Description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Purchase implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "采购单详情不能为空")
    private List<PodetailAddParam> list;
    private PoAddParam poAddParam;


}
